from rest_framework import serializers
from goods.models import SKUImage


class SKUImageSerializer(serializers.ModelSerializer):
    class Meta:
        # 指定模型类
        model = SKUImage
        # 指定字段
        fields = ('id','sku','image')

